﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class message : Form
    {
        public message()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void confirm_Click(object sender, EventArgs e)
        {
            this.showMessage = "姓名"+ this.textBox1.Text + '\n' + "生日" + 
                this.dateTimePicker1.Text + '\n' + "性别" + this.comboBox1.Text + '\n' + "年龄"
                + this.numericUpDown1.Value;
            MessageBox.Show(this.showMessage, "xwl", MessageBoxButtons.YesNo);
        }
    }
}
